<LINK type="text/css" HREF="style.css" rel="stylesheet">
<h1>eval</h1>
<p>Evaluate a string as a mathematical expression.</p>
<p><strong>Supported operators:</strong></p>
<table width="80%" border="1">
  <tr valign="top">
    <td width="20%"><p align="center"><strong>Operator character: </strong></p></td>
    <td width="80%"><p><strong>Meaning</strong></p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">+</p></td>
    <td width="80%"><p>Addiction</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">-</p></td>
    <td width="80%"><p>Substraction</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">*</p></td>
    <td width="80%"><p>Multiplication</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">/</p></td>
    <td width="80%"><p>Division</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">( )</p></td>
    <td width="80%"><p>Kifejez&eacute;sek z&aacute;r&oacute;jelez&eacute;se</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">;</p></td>
    <td width="80%"><p>Parameter sepperator for function parameters </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">%</p></td>
    <td width="80%"><p>Mod</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">!=</p></td>
    <td width="80%"><p>Logical not equality </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">=</p></td>
    <td width="80%"><p>Logical equality </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">and</p></td>
    <td width="80%"><p>Logical and</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">or</p></td>
    <td width="80%"><p>Logical or </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">&lt;</p></td>
    <td width="80%"><p>Smaller than </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">&gt;</p></td>
    <td width="80%"><p>Bigger than </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">^</p></td>
    <td width="80%"><p>Pow</p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">&amp;</p></td>
    <td width="80%"><p>Bitwise and </p></td>
  </tr>
  <tr valign="top">
    <td width="20%"><p align="center">|</p></td>
    <td width="80%"><p>Bitwise or</p>
    </td>
  </tr>
    <tr valign="top">
    <td width="20%"><p align="center">:=</p></td>
    <td width="80%"><p>set a variable with a value. Example: $var:=5+2</p>
    </td>
  </tr>
</table>
<p><strong>Supported functions:</strong></p>
<table width="80%" border="1">
  <tr>
    <td width="33%"><ul>
      <li>abs</li>
      <li>apercent</li>
      <li>arccos</li>
      <li>arccosh</li>
      <li>arcsin</li>
      <li>arcsinh</li>
      <li>arctan</li>
      <li>arctanh</li>
      <li>cos</li>
      <li>cosh</li>
    </ul></td>
    <td width="33%"><ul>
      <li>ctg</li>
      <li>deg2grad</li>
      <li>deg2rad</li>
      <li>fact</li>
      <li>gcd</li>
      <li>grad2deg</li>
      <li>isprime</li>
      <li>lcm</li>
      <li>log</li>
      <li>percent</li>
    </ul>
    </td>
    <td width="33%"><ul>
      <li>rad2deg</li>
      <li>round</li>
      <li>sign</li>
      <li>sin</li>
      <li>sinh</li>
      <li>sqr</li>
      <li>tan</li>
      <li>tanh</li>
    </ul>
    </td>
  </tr>
</table>
<p>for further usage and parameters of the supported functions use it's manpage. If a function requires two or more parameters the ; sign is used to separate the parameters instead of the , sign, because in some countries , is used in floating point numbers instead of the . sign. </p>
<h2>Parameters:</h2>
<ol>
  <li>The string to be interpreted. Example sin(3+2) </li>
</ol>
